package com.changgou.order.feign;

import com.changgou.order.pojo.OrderItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author wuzhouwei
 * @date 2020/5/31
 */
@FeignClient("order")
@RequestMapping("/order")
public interface OrderFeign {
    @GetMapping("/comment")
    List<List<OrderItem>> findCommentGoodsByOrderIdAndUsername();
}
